package com.uzai.console.dto.user.wechatuser;

import com.uzai.console.dto.BaseDto;
import com.uzai.console.entity.GroupSendJob;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Auther: liuqi
 * @Date: 2021/8/10 14:58
 * @Description:
 */
@ApiModel("微信用户查询结果群发任务参数")
public class WechatUserBatchSendMsgDto extends BaseDto {
    @ApiModelProperty("查询条件参数")
    private WechatUserQuery wechatUserQuery;
    @ApiModelProperty("群发消息设置参数")
    private WechatUserGroupSendMsgDto wechatUserGroupSendMsgDto;

    @ApiModelProperty(value = "群发消息主任务", hidden = true)
    private Long groupSendJobParentId;

    public WechatUserQuery getWechatUserQuery() {
        if(wechatUserQuery == null){
            wechatUserQuery = new WechatUserQuery();
        }
        wechatUserQuery.setMerId(super.getMerId());
        return wechatUserQuery;
    }

    public void setWechatUserQuery(WechatUserQuery wechatUserQuery) {
        this.wechatUserQuery = wechatUserQuery;
    }

    public WechatUserGroupSendMsgDto getWechatUserGroupSendMsgDto() {
        return wechatUserGroupSendMsgDto;
    }

    public void setWechatUserGroupSendMsgDto(WechatUserGroupSendMsgDto wechatUserGroupSendMsgDto) {
        this.wechatUserGroupSendMsgDto = wechatUserGroupSendMsgDto;
    }

    public Long getGroupSendJobParentId() {
        return groupSendJobParentId;
    }

    public void setGroupSendJobParentId(Long groupSendJobParentId) {
        this.groupSendJobParentId = groupSendJobParentId;
    }
}
